package com.llxwz.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class User {
    @TableId(type = IdType.AUTO)
    private int id;
    private String username;
    private String password;
    private String phone;
    private String sign;
    private String salt;
    private String email;
    //0普通用户 1管理员
    private int type;
    //0未激活 1已激活 2封号
    private int status;
    private String activationCode;
    private String headerUrl;
    private Date createTime;
}
